package com.wangrui.service;

import com.wangrui.pojo.Semester;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.Map;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author 王锐
 * @since 2020-07-05
 */
public interface SemesterService extends IService<Semester> {

    int getTotal();

    Map<String, Object> AllSemesters(int start, int end);

    int semesterSave(Semester semester);

    int semesterUpdate(Semester semester);

    int semesterDelete(int ids);
}
